#ifndef EDITOR_WIDGET_H
#define EDITOR_WIDGET_H

#include <QWidget>
#include <QCheckBox>
#include <QPushButton>
#include <QSlider>
#include "playthread.h"
#include "waveform.h"
namespace Ui {
class editor_widget;
}

class editor_widget : public QWidget
{
    Q_OBJECT

public:
    explicit editor_widget(QWidget *parent = 0);
    ~editor_widget();

private:
    Ui::editor_widget *ui;
    AudioThread* at;
public:
    void setConnect(AudioThread* at, WaveForm *wf);
    QCheckBox *getCheck();
    QSlider* getVolume();
    QSlider* getChannel();
    void disconnectWidgets();
public slots:
    bool eventFilter(QObject *obj, QEvent *event);
};

#endif // EDITOR_WIDGET_H
